﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Grishko.DataTier;
using Grishko.SerilizeTools;

using OutdoorLib.BaseEntity.Face;
using OutdoorLib.BaseEntity.Agency;


namespace OutdoorLib.BaseEntity
{
    
    [TagNameInfo(TagName = "Face")]
    public class FaceEntity : SqlAgencyEntity
    {   
        private ContactList _ContactList = new ContactList();

        [SrchItemInfo(TxtPropertyName = "Контакты",ListType =typeof(Contact))]
        public virtual  ContactList ContactList { get { return _ContactList; } }

        
        private EntityList _DocumentList = new EntityList();

        [SrchItemInfo(TxtPropertyName = "Документы", ListType = typeof(Document))]
        public virtual EntityList DocumentList { get { return _DocumentList; } }
                
        public virtual string GetFullAdress()
        {            
            return string.Empty; 
        }

        private  string _Describe = string.Empty;
        public string Describe { get { return _Describe; } set { _Describe = value; } }
         
        
    }

    
}
